//
//  DevicesCurrentTemperature-CO2Incubator.h
//  iRMAP
//
//  Created by Ryan Enguero on 4/4/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "Devices.h"

@interface DevicesCurrentTemperature_CO2Incubator : Devices

@property (strong, nonatomic) NSString *temperatureSetPointStr;
@property (strong, nonatomic) NSString *co2SetPointStr;
@property (strong, nonatomic) NSString *o2SetPointStr;
@property (strong, nonatomic) NSString *temperatureSensorStr;
@property (strong, nonatomic) NSString *co2SensorStr;
@property (strong, nonatomic) NSString *o2SensorStr;
@property (strong, nonatomic) NSString *rhSensorStr;
//@property (strong, nonatomic) NSString *deviceTypeStr;

- (NSString*)temperatureSetPoint;
- (NSString*)co2SetPoint;
- (NSString*)o2SetPoint;
- (NSString*)temperatureSensor;
- (NSString*)co2Sensor;
- (NSString*)o2Sensor;
- (NSString*)rhSensor;
//- (NSString*)deviceType;

+ (DevicesCurrentTemperature_CO2Incubator*)devicesWithFreezerID:(NSString*)freezerID andUID:(NSString*)uid andDeviceName:(NSString*)deviceName andCompanyId:(NSString*)companyID andMeasureStatus:(NSString*)measureStatus andMeasureName:(NSString*)measureName andMeasureDescription:(NSString*)measureDescription andMeasureSeverity:(NSString*)measureSeverity andHealthStatusCode:(NSString*)healthStatusCode andHealthStatusText:(NSString*)healthStatustext andHealthStatusColor:(NSString*)healthStatusColor andConnectionState:(NSString*)connectionState andTemperatureSetPoint:(NSString*)temperatureSetPoint andCo2SetPoint:(NSString*)co2SetPoint andO2SetPoint:(NSString*)o2SetPoint andTemperatureSensorStr:(NSString*)temperatureSensor andCo2Sensor:(NSString*)co2Sensor andO2Sensor:(NSString*)o2Sensor andRhSensor:(NSString*)rhSensor andDeviceType:(NSString*)deviceType;


@property (strong, nonatomic) NSString *occuranceTimeStr;
@property (strong, nonatomic) NSString *highTemperatureLimitStr;
@property (strong, nonatomic) NSString *lowTemperatureLimitStr;
@property (strong, nonatomic) NSString *highCo2LimitStr;
@property (strong, nonatomic) NSString *lowCo2LimitStr;
@property (strong, nonatomic) NSString *highO2LimitStr;
@property (strong, nonatomic) NSString *lowO2LimitStr;
@property (strong, nonatomic) NSString *lowRhLimitStr;
@property (strong, nonatomic) NSString *temperatureLimitStr;

- (NSString*)occuranceTime;
- (NSString*)highTemperatureLimit;
- (NSString*)lowTemperatureLimit;
- (NSString*)highCo2Limit;
- (NSString*)lowCo2Limit;
- (NSString*)highO2Limit;
- (NSString*)lowO2Limit;
- (NSString*)lowRhLimit;

+ (DevicesCurrentTemperature_CO2Incubator*)devicesWithFreezerID:(NSString*)freezerID andTemperatureSetPoint:(NSString*)temperatureSetPoint andCo2SetPoint:(NSString*)co2SetPoint andO2SetPoint:(NSString*)o2SetPoint andTemperatureSensorStr:(NSString*)temperatureSensor andCo2Sensor:(NSString*)co2Sensor andO2Sensor:(NSString*)o2Sensor andRhSensor:(NSString*)rhSensor andDeviceType:(NSString*)deviceType andOccuranceTime:(NSString*)occuranceTime andHighTemperatureLimit:(NSString*)highTemperatureLimit andLowTemperatureLimit:(NSString*)lowTemperatureLimit andHighCo2Limit:(NSString*)highCo2Limit andLowCo2Limit:(NSString*)lowCo2Limit andHighO2Limit:(NSString*)highO2Limit andLowO2Limit:(NSString*)lowO2Limit andLowRhLimit:(NSString*)lowRhLimit;

//

@property (strong, nonatomic) NSString *occuranceTimeAlarmStr;
@property (strong, nonatomic) NSString *alarmCodeAlarmStr;
@property (strong, nonatomic) NSString *alarmTextAlarmStr;
@property (strong, nonatomic) NSString *measureStatusAlarmStr;
@property (strong, nonatomic) NSString *measureNameAlarmStr;
@property (strong, nonatomic) NSString *measureDescriptionAlarmStr;
@property (strong, nonatomic) NSString *measureSeverityAlarmStr;
@property (strong, nonatomic) NSString *cronStatusAlarmStr;

- (NSString*)occuranceTimeAlarm;
- (NSString*)alarmCodeAlarm;
- (NSString*)alarmTextAlarm;
- (NSString*)measureStatusAlarm;
- (NSString*)measureNameAlarm;
- (NSString*)measureDescriptionAlarm;
- (NSString*)measureSeverityAlarm;
- (NSString*)cronStatusAlarm;

+ (DevicesCurrentTemperature_CO2Incubator*)alarmDevicesType:(NSString*)deviceType andFreezerID:(NSString*)freezerID andFreezerName:(NSString*)freezerName andCompanyID:(NSString*)companyID andChamberTemperaturesSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andOccuranceTime:(NSString*)occuranceTime andAlarmCode:(NSString*)alarmCode andAlarmText:(NSString*)alarmText andMeasureStatus:(NSString*)measureStatus andMeasureName:(NSString*)measureName andMeasureDescription:(NSString*)measureDescription andMeasureSeverity:(NSString*)measureSeverity andCronStatus:(NSString*)cronStatus;

@property (strong, nonatomic) NSString *occuranceTimeEventStr;
@property (strong, nonatomic) NSString *eventCodeStr;

- (NSString*)occuranceTimeEvent;
- (NSString*)eventCode;

+ (DevicesCurrentTemperature_CO2Incubator*)eventDeviceType:(NSString*)deviceType andFreezerID:(NSString*)freezerID andFreezerName:(NSString*)freezerName andCompanyID:(NSString*)companyID andChamberTemperatureSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andOccuranceTime:(NSString*)occuranceTime andEventCode:(NSString*)eventCode;

@end
